//
//  Enum-Config.h
//  nonghubao
//
//  Created by Fenrir on 13-10-12.
//  Copyright (c) 2013年 Chongqing Nonghubao Co., Ltd. All rights reserved.
//

// 图片样式
typedef NS_ENUM(NSInteger, PictureStyle) {
    PictureStyleNormalPreview,
    PictureStyleNormal,
    PictureStyleAvartPreview,
    PictureStyleAvart,
    PictureStyleFullScreen,
    PictureStyleFullFrame,
    PictureStyleNormalBigPreview,
    PictureStyleAnnouncement,
    PictureStyleCircleMemberAvart
};

typedef NS_ENUM(NSInteger, DynamicCategory) {
    DynamicCategoryMood = 1,
    DynamicCategoryGoods,
    DynamicCategoryRecommend,
    DynamicCategoryProduct = DynamicCategoryGoods
};

typedef enum{
	EGOOPullRefreshPulling = 0,
	EGOOPullRefreshNormal,
	EGOOPullRefreshLoading,
} EGOPullRefreshState;

typedef enum{
    EGORefreshHeader = 0,
    EGORefreshFooter
} EGORefreshPos;


// 定义订单状态类型
typedef NS_ENUM(NSInteger, OrderListType) {
    OrderListTypeWaitingForPay,     //待付款
    OrderListTypeWillDelivery,      //待发货
    OrderListTypeWaitingForConfirm, //待确认
    OrderListTypeWaitingForComment, //待评论
    OrderListTypeRefund  = 11,            //退款
    OrderListTypeReturn  = 13,            //退货
    OrderListTypeHistory = 4            //历史订单
};


// 定义订单状态类型
typedef NS_ENUM(NSInteger, OrderStatus) {
    OrderStatusWaitingForPay = 0,     //待付款
    OrderStatusWillDelivery,      //待发货
    OrderStatusWaitingForConfirm, //待确认
    OrderStatusConfirmed,
    OrderStatusCommented,
    OrderStatusCancel = 10,
    OrderStatusRefunding,            //申请退款
    OrderStatusRefunded,
    OrderStatusReturning,             //申请退货
    OrderStatusReturned
};

typedef enum{
    
    UpgradeNoneLevel = 0,
    UpgradeOptionalLevel,
    UpgradeRequiredLevel
    
} UpgradeLevel;

/*!
 @abstract 定义业务类型枚举
 @constant BusinessTypeBuyer 0，买家
 @constant BusinessTypeSeller 1，卖家
 */
typedef NS_ENUM(NSInteger, BusinessType) {
    BusinessTypeBuyer = 0,
    BusinessTypeSeller
};